home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 February / Gamestar_59_2004-02_dvd.iso / Dema / anito_demo.exe / {app} / data / cutscenes / agila / villacredo / TaiLi1_inpawnshop.cs < prev    next >
Text File  |  2003-10-27  |  10KB  |  572 lines

  1.  0 0
  2.  1 0
  3.  0 0 0
  4.  
  5. 36
  6.  
  7.   1 1
  8.     1 -1 -1
  9.  
  10.   1 1
  11. "
  12. if (globals.progress_TaiLi == 0)
  13. {
  14.   this.line0 = 'none';
  15.   this.target0 = 2;
  16. }
  17. if (globals.progress_TaiLi == 1)
  18. {
  19.   this.line0 = 'none';
  20.   this.target0 = 3;
  21. }
  22.   this.line1 = '';
  23. "
  24.     1 -1 -1
  25.  
  26.   1 34
  27. "
  28. this.camerafocus = 'npcTaiLi1';
  29. this.voicefocus = 'npcTaiLi1';
  30. this.line0 = 'Young datu...what can I do for you? ';
  31. this.line1 = '';
  32. this.line2 = '';
  33. this.line3 = '';
  34. this.line4 = '';
  35. this.line5 = '';
  36. this.line6 = '';
  37. globals.progress_TaiLi = 1;
  38. "
  39.     900 -1 -1
  40.  
  41.   1 34
  42. "
  43. this.camerafocus = 'npcTaiLi1';
  44. this.voicefocus = 'npcTaiLi1';
  45. this.line0 = 'What does the young datu need this time?';
  46. this.line1 = '';
  47. this.line2 = '';
  48. this.line3 = '';
  49. this.line4 = '';
  50. this.line5 = '';
  51. this.line6 = '';
  52.  
  53. "
  54.     300 -1 -1
  55.  
  56.   1 5
  57. "
  58. this.camerafocus = 'player';
  59. this.voicefocus = 'player';
  60. this.line0 = 'Who are you?';
  61. this.line1 = '';
  62. this.line2 = '';
  63. this.line3 = '';
  64. this.line4 = '';
  65. this.line5 = '';
  66. this.line6 = '';
  67.  
  68. "
  69.     900 -1 -1
  70.  
  71.   1 6
  72. "
  73. this.camerafocus = 'npcTaiLi1';
  74. this.voicefocus = 'npcTaiLi1';
  75. this.line0 = 'They call me Tai Li, vendor of all sorts of...pleasurable things.  I';
  76. this.line1 = 'also deal with all sorts of gems and precious stones.';
  77. this.line2 = '';
  78. this.line3 = '';
  79. this.line4 = '';
  80. this.line5 = '';
  81. this.line6 = '';
  82.  
  83. "
  84.     900 -1 -1
  85.  
  86.   1 33
  87. "
  88. this.camerafocus = 'player';
  89. this.voicefocus = 'player';
  90. this.line0 = 'Really, now? ';
  91. this.line1 = '';
  92. this.line2 = '';
  93. this.line3 = '';
  94. this.line4 = '';
  95. this.line5 = '';
  96. this.line6 = '';
  97.  
  98. "
  99.     900 -1 -1
  100.  
  101.   1 8
  102. "
  103. this.camerafocus = 'player';
  104. this.voicefocus = 'player';
  105. this.line0 = 'What is this place?';
  106. this.line1 = '';
  107. this.line2 = '';
  108. this.line3 = '';
  109. this.line4 = '';
  110. this.line5 = '';
  111. this.line6 = '';
  112.  
  113. "
  114.     900 -1 -1
  115.  
  116.   1 9
  117. "
  118. this.camerafocus = 'npcTaiLi1';
  119. this.voicefocus = 'npcTaiLi1';
  120. this.line0 = 'Young datu, how naive of you.  This is a pawnshop, where people';
  121. this.line1 = '\'lend\' their things in exchange for a sum of money.  ';
  122. this.line2 = '';
  123. this.line3 = '';
  124. this.line4 = '';
  125. this.line5 = '';
  126. this.line6 = '';
  127.  
  128. "
  129.     900 -1 -1
  130.  
  131.   1 10
  132. "
  133. this.camerafocus = 'player';
  134. this.voicefocus = 'player';
  135. this.line0 = '\'Lend\'? How do they get it back?';
  136. this.line1 = '';
  137. this.line2 = '';
  138. this.line3 = '';
  139. this.line4 = '';
  140. this.line5 = '';
  141. this.line6 = '';
  142.  
  143. "
  144.     900 -1 -1
  145.  
  146.   1 11
  147. "
  148. this.camerafocus = 'npcTaiLi1';
  149. this.voicefocus = 'npcTaiLi1';
  150. this.line0 = 'They can buy it back, of course, but with interest.  If they cannot';
  151. this.line1 = 'pay, well...it goes to the pawnshop.  Did I mention that I adore';
  152. this.line2 = 'precious stones and gems?';
  153. this.line3 = '';
  154. this.line4 = '';
  155. this.line5 = '';
  156. this.line6 = '';
  157.  
  158. "
  159.     900 -1 -1
  160.  
  161.   1 33
  162. "
  163. this.camerafocus = 'player';
  164. this.voicefocus = 'player';
  165. this.line0 = 'Oh, I see.';
  166. this.line1 = '';
  167. this.line2 = '';
  168. this.line3 = '';
  169. this.line4 = '';
  170. this.line5 = '';
  171. this.line6 = '';
  172.  
  173. "
  174.     900 -1 -1
  175.  
  176.   1 13
  177. "
  178. this.camerafocus = 'player';
  179. this.voicefocus = 'player';
  180. this.line0 = 'What goods do you have for sale?';
  181. this.line1 = '';
  182. this.line2 = '';
  183. this.line3 = '';
  184. this.line4 = '';
  185. this.line5 = '';
  186. this.line6 = '';
  187.  
  188. "
  189.     900 -1 -1
  190.  
  191.   1 0
  192. "
  193. this.camerafocus = 'player';
  194. this.line0 = '';
  195.  
  196. OpenBuySell('npcTaiLi1');
  197. "
  198.     1 -1 -1
  199.  
  200.   1 15
  201. "
  202. this.camerafocus = 'player';
  203. this.voicefocus = 'player';
  204. this.line0 = 'Thank you, I was just on my way out.';
  205. this.line1 = '';
  206. this.line2 = '';
  207. this.line3 = '';
  208. this.line4 = '';
  209. this.line5 = '';
  210. this.line6 = '';
  211.  
  212. "
  213.     300 -1 -1
  214.  
  215.   1 0
  216. "
  217. this.camerafocus = 'npcTaiLi1';
  218. this.voicefocus = 'npcTaiLi1';
  219. this.line0 = 'Mmm.  Come back sometime.';
  220. this.line1 = '';
  221. this.line2 = '';
  222. this.line3 = '';
  223. this.line4 = '';
  224. this.line5 = '';
  225. this.line6 = '';
  226.  
  227. "
  228.     300 -1 -1
  229.  
  230.   1 33
  231. "
  232. this.camerafocus = 'player';
  233. this.voicefocus = 'player';
  234. this.line0 = 'I have some questions for you. ';
  235. this.line1 = '';
  236. this.line2 = '';
  237. this.line3 = '';
  238. this.line4 = '';
  239. this.line5 = '';
  240. this.line6 = '';
  241.  
  242. "
  243.     900 -1 -1
  244.  
  245.   1 13
  246. "
  247. this.camerafocus = 'player';
  248. this.voicefocus = 'player';
  249. this.line0 = 'What goods do you have for sale? ';
  250. this.line1 = '';
  251. this.line2 = '';
  252. this.line3 = '';
  253. this.line4 = '';
  254. this.line5 = '';
  255. this.line6 = '';
  256.  
  257. "
  258.     900 -1 -1
  259.  
  260.   1 15
  261. "
  262. this.camerafocus = 'player';
  263. this.voicefocus = 'player';
  264. this.line0 = 'Thank you, I was just on my way out. ';
  265. this.line1 = '';
  266. this.line2 = '';
  267. this.line3 = '';
  268. this.line4 = '';
  269. this.line5 = '';
  270. this.line6 = '';
  271.  
  272. "
  273.     300 -1 -1
  274.  
  275.   1 20
  276. "
  277. this.camerafocus = 'player';
  278. this.voicefocus = 'player';
  279. this.line0 = 'Do you make gems?';
  280. this.line1 = '';
  281. this.line2 = '';
  282. this.line3 = '';
  283. this.line4 = '';
  284. this.line5 = '';
  285. this.line6 = '';
  286.  
  287. "
  288.     900 -1 -1
  289.  
  290.   1 33
  291. "
  292. this.camerafocus = 'npcTaiLi1';
  293. this.voicefocus = 'npcTaiLi1';
  294. this.line0 = 'No.  Precious stones come from the earth.  What I do is cut them and';
  295. this.line1 = 'polish them so they become attractive to look at.  But it is very';
  296. this.line2 = 'difficult work...';
  297. this.line3 = '';
  298. this.line4 = '';
  299. this.line5 = '';
  300. this.line6 = '';
  301.  
  302. "
  303.     900 -1 -1
  304.  
  305.   1 22
  306. "
  307. this.camerafocus = 'player';
  308. this.voicefocus = 'player';
  309. this.line0 = 'Can you cut this crystal so that it shows a rainbow inside it?';
  310. this.line1 = '';
  311. this.line2 = '';
  312. this.line3 = '';
  313. this.line4 = '';
  314. this.line5 = '';
  315. this.line6 = '';
  316.  
  317. "
  318.     900 -1 -1
  319.  
  320.   1 35
  321. "
  322. this.camerafocus = 'npcTaiLi1';
  323. this.voicefocus = 'npcTaiLi1';
  324. this.line0 = 'Of course, young datu.  However, it would cost you 100 cruzieros.';
  325. this.line1 = '';
  326. this.line2 = '';
  327. this.line3 = '';
  328. this.line4 = '';
  329. this.line5 = '';
  330. this.line6 = '';
  331.  
  332. "
  333.     900 -1 -1
  334.  
  335.   1 24
  336. "
  337. this.camerafocus = 'player';
  338. this.voicefocus = 'player';
  339. this.line0 = 'Some other time, perhaps.';
  340. this.line1 = '';
  341. this.line2 = '';
  342. this.line3 = '';
  343. this.line4 = '';
  344. this.line5 = '';
  345. this.line6 = '';
  346.  
  347. "
  348.     900 -1 -1
  349.  
  350.   1 34
  351. "
  352. this.camerafocus = 'npcTaiLi1';
  353. this.voicefocus = 'npcTaiLi1';
  354. this.line0 = 'That is all right.';
  355. this.line1 = '';
  356. this.line2 = '';
  357. this.line3 = '';
  358. this.line4 = '';
  359. this.line5 = '';
  360. this.line6 = '';
  361.  
  362. "
  363.     900 -1 -1
  364.  
  365.   1 26
  366. "
  367. this.camerafocus = 'player';
  368. this.voicefocus = 'player';
  369. this.line0 = 'Is the crystal ready? ';
  370. this.line1 = '';
  371. this.line2 = '';
  372. this.line3 = '';
  373. this.line4 = '';
  374. this.line5 = '';
  375. this.line6 = '';
  376.  
  377. "
  378.     900 -1 -1
  379.  
  380.   1 34
  381. "
  382. this.camerafocus = 'npcTaiLi1';
  383. this.voicefocus = 'npcTaiLi1';
  384. this.line0 = 'No, not yet.  I told you it would be hard work.';
  385. this.line1 = '';
  386. this.line2 = '';
  387. this.line3 = '';
  388. this.line4 = '';
  389. this.line5 = '';
  390. this.line6 = '';
  391.  
  392. "
  393.     900 -1 -1
  394.  
  395.   1 28
  396. "
  397. this.camerafocus = 'player';
  398. this.voicefocus = 'player';
  399. this.line0 = 'Is the crystal ready? ';
  400. this.line1 = '';
  401. this.line2 = '';
  402. this.line3 = '';
  403. this.line4 = '';
  404. this.line5 = '';
  405. this.line6 = '';
  406.  
  407. "
  408.     900 -1 -1
  409.  
  410.   1 29
  411. "
  412. this.camerafocus = 'npcTaiLi1';
  413. this.voicefocus = 'npcTaiLi1';
  414. this.line0 = 'Here you are.  A prism, just as you wanted.  The colours of the rainbow';
  415. this.line1 = 'can be seen when the light passes through it.';
  416. this.line2 = '';
  417. this.line3 = '';
  418. this.line4 = '';
  419. this.line5 = '';
  420. this.line6 = '';
  421. TakeItem('prism', 1);
  422. "
  423.     900 -1 -1
  424.  
  425.   1 0
  426. "
  427. this.camerafocus = 'player';
  428. this.voicefocus = 'player';
  429. this.line0 = 'Thank you.';
  430. this.line1 = '';
  431. this.line2 = '';
  432. this.line3 = '';
  433. this.line4 = '';
  434. this.line5 = '';
  435. this.line6 = '';
  436. globals.quest_catch_rainbow = 3;
  437. RemapEntry(160, 161);
  438. "
  439.     900 -1 -1
  440.  
  441.   1 31
  442. "
  443. this.camerafocus = 'player';
  444. this.voicefocus = 'player';
  445. this.line0 = 'Here, 100 cruzieros.';
  446. this.line1 = '';
  447. this.line2 = '';
  448. this.line3 = '';
  449. this.line4 = '';
  450. this.line5 = '';
  451. this.line6 = '';
  452. GiveMoney(100);
  453. GiveItem('uncut_crystal', 1);
  454. "
  455.     900 -1 -1
  456.  
  457.   1 0
  458. "
  459. this.camerafocus = 'npcTaiLi1';
  460. this.voicefocus = 'npcTaiLi1';
  461. this.line0 = 'Come back after three days.  It shall be ready by then.';
  462. this.line1 = '';
  463. this.line2 = '';
  464. this.line3 = '';
  465. this.line4 = '';
  466. this.line5 = '';
  467. this.line6 = '';
  468. globals.quest_catch_rainbow = 2;
  469. globals.progress_prism_day = globals.time_day+3;
  470. "
  471.     900 -1 -1
  472.  
  473.   1 0
  474. "
  475. this.camerafocus = 'player';
  476. this.voicefocus = 'player';
  477. this.line0 = 'Thanks, that\'s all I wanted to know.';
  478. this.line1 = '';
  479. this.line2 = '';
  480. this.line3 = '';
  481. this.line4 = '';
  482. this.line5 = '';
  483. this.line6 = '';
  484.  
  485. "
  486.     900 -1 -1
  487.  
  488.   1 33
  489. "
  490.  
  491. this.camerafocus = 'player';
  492. this.voicefocus = 'player';
  493. i = 0;
  494. this.line[i] = 'Who are you?';
  495. this.target[i] = '4';
  496. i++;
  497. this.line[i] = 'What is this place?';
  498. this.target[i] = '7';
  499. i++;
  500. this.line[i] = 'What goods do you have for sale?';
  501. this.target[i] = '12';
  502. i++;
  503. this.line[i] = 'Do you make gems?';
  504. this.target[i] = '19';
  505. i++;
  506. this.line[i] = 'Thanks, that\'s all I wanted to know.';
  507. this.target[i] = '32';
  508. i++;
  509. this.line[i] = '';
  510. "
  511.     1 -1 -1
  512.  
  513.   1 34
  514. "
  515.  
  516. this.camerafocus = 'player';
  517. this.voicefocus = 'player';
  518. i = 0;
  519. this.line[i] = 'I have some questions for you.';
  520. this.target[i] = '16';
  521. i++;
  522. this.line[i] = 'What goods do you have for sale? ';
  523. this.target[i] = '17';
  524. i++;
  525. if (globals.quest_catch_rainbow == 1 && CheckItem('uncut_crystal') > 0)
  526. {
  527.     this.line[i] = 'Can you cut this crystal so that it shows a rainbow inside it?';
  528.     this.target[i] = '21';
  529.     i++;
  530. }
  531. if (globals.quest_catch_rainbow == 2 && globals.time_day < globals.progress_prism_day )
  532. {
  533.     this.line[i] = 'Is the crystal ready? ';
  534.     this.target[i] = '25';
  535.     i++;
  536. }
  537. if (globals.quest_catch_rainbow == 2 && globals.time_day >= globals.progress_prism_day )
  538. {
  539.     this.line[i] = 'Is the crystal ready? ';
  540.     this.target[i] = '27';
  541.     i++;
  542. }
  543. this.line[i] = 'Thank you, I was just on my way out.';
  544. this.target[i] = '14';
  545. i++;
  546. this.line[i] = '';
  547. "
  548.     1 -1 -1
  549.  
  550.   1 35
  551. "
  552.  
  553. this.camerafocus = 'player';
  554. this.voicefocus = 'player';
  555. i = 0;
  556. this.line[i] = 'Some other time, perhaps.';
  557. this.target[i] = '23';
  558. i++;
  559. if (CheckMoney() >= 100)
  560. {
  561.     this.line[i] = 'Here, 100 cruzieros.';
  562.     this.target[i] = '30';
  563.     i++;
  564. }
  565. this.line[i] = '';
  566. "
  567.     1 -1 -1
  568.  
  569.  
  570. 0 0 0 0
  571. 0
  572.